package com.enation.app.shop.front.api.credit.service;

import com.enation.app.shop.front.api.credit.entity.CreditAccount;

import java.util.List;

public interface ICreditAccountManager {
    CreditAccount getCreditByUserId(int userid);


    CreditAccount getCreditByid(int creditid);

    int  createCredit(CreditAccount creditAccount);

    int  updateCredit(CreditAccount creditAccount);

    void updatepayPassword(String paypassword, int userId);

    List<CreditAccount> getAll();
}
